# Dockerfile

# 基于的镜像

FROM java:8



VOLUME /tmp



ADD ruoyi.jar ruoyi.jar



# -Djava.security.egd=file:/dev/./urandom 可解决tomcat可能启动慢的问题

# 具体可查看：https://www.cnblogs.com/mightyvincent/p/7685310.html

ENTRYPOINT ["java","-Djava.security.egd=file:/dev/./urandom","-jar","/ruoyi.jar"]
